﻿using System;
using System.Text.RegularExpressions;

class FindTest
{
    static void Main()
    {
        string text = "Testing is important. We need to test everything.";
        Regex pattern = new Regex(@"[a-zA-Z]*test[a-zA-Z]*",RegexOptions.IgnoreCase);
        Match match = pattern.Match(text);
        while (match.Success)
        {
            Console.WriteLine(match.Value);
            match = match.NextMatch();
        }
    }
}
